package com.forum.module.system.controller.admin.user.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author zihan.ouyang
 */
@Schema(description = "管理后台 - 用户精简信息 Response VO")
public class UserSimpleRespVO {

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "admin")
    private String nickname;

    public UserSimpleRespVO() {
    }

    public UserSimpleRespVO(Long id, String nickname) {
        this.id = id;
        this.nickname = nickname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}
